﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FAQFrameworks;

namespace FooFun.Web.Controls
{
    /// <summary>
    /// 当前版块的推荐问题
    /// </summary>
    public class Recommends : DataElementControl
    {
        protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);

            TopicManager topicManager = new TopicManager();

            this.DataElement
                = topicManager.ListRecommends
                (FAQContext.Current.ForumId);
        }
    }
}
